import Layout from '@/layout'

export default [
    {
        path: '/auth/menu',
        component: Layout,
        meta: {
            title: '角色管理',
            icon: 'auth_menu'
        },
        children: [
            {
                path: '',
                name: 'Menu',
                component: () => import(/* webpackChunkName: 'videos_example' */ '@/views/auth/role'),
                meta: {
                    sidebar: false,
                    breadcrumb: false,
                    title: '角色管理',
                    activeMenu: '/auth/menu'
                }
            }
        ]
    },
    {
        path: '/auth/users',
        component: Layout,
        meta: {
            title: '用户管理',
            icon: 'user'
        },
        children: [
            {
                path: '',
                name: 'users',
                component: () => import(/* webpackChunkName: 'videos_example' */ '@/views/auth/users'),
                meta: {
                    title: '用户管理',
                    sidebar: false,
                    breadcrumb: false,
                    activeMenu: '/auth/users'
                }
            }
        ]
    }
]
